package com.herui.ota.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * table name:  t_user
 * author name: amanda.shan
 * create time: 2020-05-19 13:13:54
 */ 
@Data
@Accessors(chain = true)
@ApiModel("用户")
@TableName("t_sys_user")
public class User extends LightBaseEntity {

	@TableId(type = IdType.INPUT)
	@ApiModelProperty(value = "id")
	private Integer id;

	@ApiModelProperty(value = "电话")
	private String mobile;

	@ApiModelProperty(value = "名字")
	private String name;

	@ApiModelProperty(value = "微信openid")
	private String wxOpenid;

	@ApiModelProperty(value = "用户多平台唯一id")
	private String unionId;

	@ApiModelProperty(value = "微信加密key")
	private String sessionKey;

	@ApiModelProperty(value = "昵称")
	private String nickName;

	@ApiModelProperty(value = "0 未知 1 男 2 女")
	private String gender;

	@ApiModelProperty(value = "城市")
	private String city;

	@ApiModelProperty(value = "省")
	private String province;

	@ApiModelProperty(value = "国家")
	private String country;

	@ApiModelProperty(value = "头像")
	private String avatarUrl;

	@ApiModelProperty(value = "语言")
	private String language;

}

